doc: Replace uses of #NULL with %NULL
authorDaniel Boles <dboles@src.gnome.org>
Wed, 22 Nov 2017 19:19:27 +0000 (19:19 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Wed, 22 Nov 2017 20:58:28 +0000 (20:58 +0000)
gdk/gdkdevicemanager.c
gdk/gdkglcontext.c
gtk/gtkclipboard.c
gtk/gtkdnd.c
gtk/gtkgesturemultipress.c
gtk/gtkplacessidebar.c
gtk/gtkwidget.c

index 91b353d05a6ffa3439a26c42b1883ed6c280b2b0..cd133b49ccd0ad8bf5d36bda7267e7a7f2f132e0 100644 (file)
@@ -300,7 +300,7 @@ gdk_device_manager_get_property (GObject      *object,
  * Gets the #GdkDisplay associated to @device_manager.
  *
  * Returns: (nullable) (transfer none): the #GdkDisplay to which
- *          @device_manager is associated to, or #NULL. This memory is
+ *          @device_manager is associated to, or %NULL. This memory is
  *          owned by GDK and must not be freed or unreferenced.
  *
  * Since: 3.0
index 2555423b662d2d3dd5af1a33462440f1ca8aee0a..84bdd4038f52f0afc807a7d3134bd23563074e76 100644 (file)
@@ -334,7 +334,7 @@ gdk_gl_context_class_init (GdkGLContextClass *klass)
   /**
    * GdkGLContext:shared-context:
    *
-   * The #GdkGLContext that this context is sharing data with, or #NULL
+   * The #GdkGLContext that this context is sharing data with, or %NULL
    *
    * Since: 3.16
    */
index 65b770d028da8cc2cee2f4dfa27e42474358796c..c328baded4f63eb35bf31185444577f79169b16a 100644 (file)
@@ -305,7 +305,7 @@ clipboard_display_closed (GdkDisplay   *display,
  * to the default clipboard, i.e. they copy the selection to what the
  * user sees as the clipboard.
  *
- * (Passing #NULL is the same as using `gdk_atom_intern
+ * (Passing %NULL is the same as using `gdk_atom_intern
  * ("CLIPBOARD", FALSE)`.
  *
  * See the
index 4015e2245eb954e878c62afe5b00266072d226c5..f452f4053cee82e0e540c87a99ca698119a52d8c 100644 (file)
@@ -1423,7 +1423,7 @@ gtk_drag_begin_internal (GtkWidget          *widget,
  * button is held down for some time.  Try to save the last event that you got
  * from the mouse, using gdk_event_copy(), and pass it to this function
  * (remember to free the event with gdk_event_free() when you are done).
- * If you can really not pass a real event, pass #NULL instead.
+ * If you can really not pass a real event, pass %NULL instead.
  *
  * Returns: (transfer none): the context for this drag
  *
index 5b96ebe29a826d91ad3c64587a9579f4b30d33f7..daaecdbf568dcc82ee5e224c9c8e2ed531aca20d 100644 (file)
@@ -411,7 +411,7 @@ gtk_gesture_multi_press_new (GtkWidget *widget)
  * If @rect is non-%NULL, the press area will be checked to be
  * confined within the rectangle, otherwise the button count
  * will be reset so the press is seen as being the first one.
- * If @rect is #NULL, the area will be reset to an unrestricted
+ * If @rect is %NULL, the area will be reset to an unrestricted
  * state.
  *
  * Note: The rectangle is only used to determine whether any
index 2d818e9f74000f7bbeaf048afb9456813dfc5a48..180b18efbfa654be28150caeacc18dcc852afc64 100644 (file)
@@ -4416,8 +4416,10 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
    * GtkPlacesSidebar::populate-popup:
    * @sidebar: the object which received the signal.
    * @container: (type Gtk.Widget): a #GtkMenu or another #GtkContainer
-   * @selected_item: (type Gio.File) (nullable): #GFile with the item to which the popup should refer, or #NULL in the case of a @selected_volume.
-   * @selected_volume: (type Gio.Volume) (nullable): #GVolume if the selected item is a volume, or #NULL if it is a file.
+   * @selected_item: (type Gio.File) (nullable): #GFile with the item to which
+   *     the popup should refer, or %NULL in the case of a @selected_volume.
+   * @selected_volume: (type Gio.Volume) (nullable): #GVolume if the selected
+   *     item is a volume, or %NULL if it is a file.
    *
    * The places sidebar emits this signal when the user invokes a contextual
    * popup on one of its items. In the signal handler, the application may
@@ -4834,7 +4836,7 @@ gtk_places_sidebar_get_open_flags (GtkPlacesSidebar *sidebar)
 /**
  * gtk_places_sidebar_set_location:
  * @sidebar: a places sidebar
- * @location: (allow-none): location to select, or #NULL for no current path
+ * @location: (nullable): location to select, or %NULL for no current path
  *
  * Sets the location that is being shown in the widgets surrounding the
  * @sidebar, for example, in a folder view in a file manager.  In turn, the
@@ -4894,7 +4896,7 @@ gtk_places_sidebar_set_location (GtkPlacesSidebar *sidebar,
  * gtk_places_sidebar_get_location:
  * @sidebar: a places sidebar
  *
- * Gets the currently-selected location in the @sidebar.  This can be #NULL when
+ * Gets the currently selected location in the @sidebar. This can be %NULL when
  * nothing is selected, for example, when gtk_places_sidebar_set_location() has
  * been called with a location that is not among the sidebar’s list of places to
  * show.
@@ -4904,7 +4906,7 @@ gtk_places_sidebar_set_location (GtkPlacesSidebar *sidebar,
  * function to get the location that is being referred to during the callbacks
  * for your menu items.
  *
- * Returns: (nullable) (transfer full): a GFile with the selected location, or
+ * Returns: (nullable) (transfer full): a #GFile with the selected location, or
  * %NULL if nothing is visually selected.
  *
  * Since: 3.10
index 8d1d917f6bd04b9072330eabb1c3042b62a3d4fc..a4739a9f03c2e595bb1b3a4e6e5588ad2eef04e4 100644 (file)
@@ -5049,7 +5049,7 @@ gtk_widget_queue_resize_no_redraw (GtkWidget *widget)
  * Unrealized widgets do not have a frame clock.
  *
  * Returns: (nullable) (transfer none): a #GdkFrameClock,
- * or #NULL if widget is unrealized
+ * or %NULL if widget is unrealized
  *
  * Since: 3.8
  */